package com.example.test.infrastructre.exception;

import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class BusinessException {
    @ExceptionHandler(ServiceException.class)
    public void serviceException(ServiceException e){
//        e.getMessage()
    }
}
